package com.specialized.orders.service;

import java.util.List;

import com.specialized.common.core.domain.Result;
import com.specialized.orders.common.domain.PickAirport;
import com.specialized.orders.common.domain.PickAirportVo.PickAirportVo;

/**
 * 接机订单Service接口
 *
 * @author djh
 * @date 2024-07-24
 */
public interface IPickAirportService {
    /**
     * 查询接机订单
     *
     * @param pickairportId 接机订单主键
     * @return 接机订单
     */
    public PickAirport selectPickAirportByPickairportId(Long pickairportId);

    /**
     * 查询接机订单列表
     *
     * @param pickAirport 接机订单
     * @return 接机订单集合
     */
    public List<PickAirport> selectPickAirportList(PickAirport pickAirport);

    /**
     * 新增接机订单
     *
     * @param pickAirport 接机订单
     * @return 结果
     */
    public Result insertPickAirport(PickAirport pickAirport);

    /**
     * 修改接机订单
     *
     * @param pickAirport 接机订单
     * @return 结果
     */
    public int updatePickAirport(PickAirport pickAirport);

    /**
     * 批量删除接机订单
     *
     * @param pickairportIds 需要删除的接机订单主键集合
     * @return 结果
     */
    public int deletePickAirportByPickairportIds(Long[] pickairportIds);

    /**
     * 删除接机订单信息
     *
     * @param pickairportId 接机订单主键
     * @return 结果
     */
    public int deletePickAirportByPickairportId(Long pickairportId);


    List<PickAirportVo> findListAll(PickAirport pickAirport);

    Result updateByOrderCard(String ordercard);
}
